package net.lzzy.practicesapi1.web.models;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author locker
 */
@Getter
@Setter
@ApiModel("课程信息")
public class CourseInfo extends BaseInfo{
    @ApiModelProperty("课程名称")
    private String name;
    @ApiModelProperty("课程封面，传图片路径")
    private String cover;
    @ApiModelProperty("课程描述")
    private String desc;
    @ApiModelProperty("课程开放状态")
    private boolean open;
    @ApiModelProperty("课程创建教师id")
    private String teacher_id;
}
